package site.psvm.phoneinfo.common.bean.mongoModel;

import org.springframework.data.mongodb.core.mapping.Document;
import site.psvm.phoneinfo.common.bean.enumModel.BluetoothType;
import site.psvm.phoneinfo.common.bean.enumModel.NetworkType;

import java.util.List;

/**
 * @description 手机信息mongo实体类
 * @author leo
 */
@Document(collection = "phone_info")
public class PhoneInfoModel {
    private String id;
    private Long createTime;
    //品牌
    private String brand;
    //型号
    private String model;
    //屏幕尺寸
    private Double screen;
    //分辨率
    private String resolution;
    //cpu型号
    private String cpuModel;
    //cpu核数
    private Integer cpuCore;
    //cpu频率
    private String cpuFreq;
    //内存
    private Integer ram;
    //存储空间
    private Integer rom;
    //电池容量
    private Integer battery;
    //操作系统
    private String os;
    //系统版本
    private String osVersion;
    //网络制式
    private List<NetworkType> networkType;
    //摄像头像素
    private Integer cameraPixel;
    //前置摄像头像素
    private Integer frontCameraPixel;
    //是否支持NFC
    private Boolean nfc;
    //是否支持指纹识别
    private Boolean fingerprint;
    //蓝牙版本
    private BluetoothType bluetooth;
    //是否支持GPS
    private Boolean gps;
    //闪光灯
    private Boolean flashlight;
    //色彩数量
    private String colorNum;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Double getScreen() {
        return screen;
    }

    public void setScreen(Double screen) {
        this.screen = screen;
    }

    public String getResolution() {
        return resolution;
    }

    public void setResolution(String resolution) {
        this.resolution = resolution;
    }

    public String getCpuModel() {
        return cpuModel;
    }

    public void setCpuModel(String cpuModel) {
        this.cpuModel = cpuModel;
    }

    public Integer getCpuCore() {
        return cpuCore;
    }

    public void setCpuCore(Integer cpuCore) {
        this.cpuCore = cpuCore;
    }

    public String getCpuFreq() {
        return cpuFreq;
    }

    public void setCpuFreq(String cpuFreq) {
        this.cpuFreq = cpuFreq;
    }

    public Integer getRam() {
        return ram;
    }

    public void setRam(Integer ram) {
        this.ram = ram;
    }

    public Integer getRom() {
        return rom;
    }

    public void setRom(Integer rom) {
        this.rom = rom;
    }

    public Integer getBattery() {
        return battery;
    }

    public void setBattery(Integer battery) {
        this.battery = battery;
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }

    public String getOsVersion() {
        return osVersion;
    }

    public void setOsVersion(String osVersion) {
        this.osVersion = osVersion;
    }

    public List<NetworkType> getNetworkType() {
        return networkType;
    }

    public void setNetworkType(List<NetworkType> networkType) {
        this.networkType = networkType;
    }

    public Integer getCameraPixel() {
        return cameraPixel;
    }

    public void setCameraPixel(Integer cameraPixel) {
        this.cameraPixel = cameraPixel;
    }

    public Integer getFrontCameraPixel() {
        return frontCameraPixel;
    }

    public void setFrontCameraPixel(Integer frontCameraPixel) {
        this.frontCameraPixel = frontCameraPixel;
    }

    public Boolean getNfc() {
        return nfc;
    }

    public void setNfc(Boolean nfc) {
        this.nfc = nfc;
    }

    public Boolean getFingerprint() {
        return fingerprint;
    }

    public void setFingerprint(Boolean fingerprint) {
        this.fingerprint = fingerprint;
    }

    public BluetoothType getBluetooth() {
        return bluetooth;
    }

    public void setBluetooth(BluetoothType bluetooth) {
        this.bluetooth = bluetooth;
    }

    public Boolean getGps() {
        return gps;
    }

    public void setGps(Boolean gps) {
        this.gps = gps;
    }

    public Boolean getFlashlight() {
        return flashlight;
    }

    public void setFlashlight(Boolean flashlight) {
        this.flashlight = flashlight;
    }

    public String getColorNum() {
        return colorNum;
    }

    public void setColorNum(String colorNum) {
        this.colorNum = colorNum;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
}
